import request from '@/utils/request'

export default {
  getAllReplys(replyPageRequest) {
    return request({
      url: '/student/reply/list',
      method: 'post',
      data: replyPageRequest
    })
  },
  getReplyById(replyid) {
    return request({
      url: '/student/reply/' + replyid,
      method: 'get'
    })
  },
  getStuDataById(replyid) {
    return request({
      url: '/student/reply/data/' + replyid,
      method: 'get'
    })
  },
  getGroupById(groupid) {
    return request({
      url: '/student/reply/group/' + groupid,
      method: 'get'
    })
  },
  inline(replyid) {
    return request({
      url: '/student/reply/' + replyid,
      method: 'put'
    })
  },
  getScoreById(replyid) {
    return request({
      url: '/student/reply/grade/' + replyid,
      method: 'get'
    })
  },
  mark(markRequest) {
    return request({
      url: '/student/reply/mark',
      method: 'post',
      data: markRequest
    })
  },
  analyse(replyid) {
    return request({
      url: '/student/reply/analyse/' + replyid,
      method: 'post'
    })
  }
}
